package com.chaos.auth.api.dto.auth;

import com.chaos.framework.model.data.DATA;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.util.List;
import java.util.Set;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "RbacRoleMenuBtnDto", description = "角色菜单按钮关联表")
public class RbacRoleMenuBtnDto extends DATA {


    @ApiModelProperty(value = "角色id")
    private Long roleId;
    private Set<Long> roleIds;


    @ApiModelProperty(value = "菜单或按钮id")
    private Set<Long> menuOrBtnIds;


    @ApiModelProperty(value = "关联类型 1 菜单 2 按钮")
    private Integer correlationType;


}
